<!DOCTYPE html>
<html>
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- This file documents the use of the GNU compilers.

Copyright © 1988-2023 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being "Funding Free Software", the Front-Cover
Texts being (a) (see below), and with the Back-Cover Texts being (b)
(see below).  A copy of the license is included in the section entitled
"GNU Free Documentation License".

(a) The FSF's Front-Cover Text is:

A GNU Manual

(b) The FSF's Back-Cover Text is:

You have freedom to copy and modify this GNU Manual, like GNU
     software.  Copies published by the Free Software Foundation raise
     funds for GNU development. -->
<title>Raw read/write Functions (Using the GNU Compiler Collection (GCC))</title>

<meta name="description" content="Raw read/write Functions (Using the GNU Compiler Collection (GCC))">
<meta name="keywords" content="Raw read/write Functions (Using the GNU Compiler Collection (GCC))">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">

<link href="index.html" rel="start" title="Top">
<link href="Indices.html" rel="index" title="Indices">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="FR_002dV-Built_002din-Functions.html" rel="up" title="FR-V Built-in Functions">
<link href="Other-Built_002din-Functions.html" rel="next" title="Other Built-in Functions">
<link href="Directly_002dmapped-Media-Functions.html" rel="prev" title="Directly-mapped Media Functions">
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
kbd.key {font-style: normal}
span:hover a.copiable-link {visibility: visible}
-->
</style>


</head>

<body lang="en_US">
<div class="subsubsection-level-extent" id="Raw-read_002fwrite-Functions">
<div class="nav-panel">
<p>
Next: <a href="Other-Built_002din-Functions.html" accesskey="n" rel="next">Other Built-in Functions</a>, Previous: <a href="Directly_002dmapped-Media-Functions.html" accesskey="p" rel="prev">Directly-Mapped Media Functions</a>, Up: <a href="FR_002dV-Built_002din-Functions.html" accesskey="u" rel="up">FR-V Built-in Functions</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Indices.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<h4 class="subsubsection" id="Raw-Read_002fWrite-Functions"><span>6.60.13.4 Raw Read/Write Functions<a class="copiable-link" href="#Raw-Read_002fWrite-Functions"> &para;</a></span></h4>

<p>This sections describes built-in functions related to read and write
instructions to access memory.  These functions generate
<code class="code">membar</code> instructions to flush the I/O load and stores where
appropriate, as described in Fujitsu&rsquo;s manual described above.
</p>
<dl class="table">
<dt><code class="code">unsigned char __builtin_read8 (void *<var class="var">data</var>)</code></dt>
<dt><code class="code">unsigned short __builtin_read16 (void *<var class="var">data</var>)</code></dt>
<dt><code class="code">unsigned long __builtin_read32 (void *<var class="var">data</var>)</code></dt>
<dt><code class="code">unsigned long long __builtin_read64 (void *<var class="var">data</var>)</code></dt>
<dt><code class="code">void __builtin_write8 (void *<var class="var">data</var>, unsigned char <var class="var">datum</var>)</code></dt>
<dt><code class="code">void __builtin_write16 (void *<var class="var">data</var>, unsigned short <var class="var">datum</var>)</code></dt>
<dt><code class="code">void __builtin_write32 (void *<var class="var">data</var>, unsigned long <var class="var">datum</var>)</code></dt>
<dt><code class="code">void __builtin_write64 (void *<var class="var">data</var>, unsigned long long <var class="var">datum</var>)</code></dt>
</dl>

</div>



</body>
</html>
